package com.hhkj.study.api.user.sevice.biz;

import com.hhkj.study.api.user.model.req.ApiCustomerUserCourseBaseReq;
import com.hhkj.study.api.user.model.req.ApiCustomerUserExerciseListRes;
import com.hhkj.study.api.user.model.req.ApiCustomerUserExerciseSaveReq;
import com.hhkj.study.api.user.model.req.ApiCustomerUserExerciseTrainReq;

import java.util.List;

/**
 * @Author luowu
 * @Date 2024/9/27 涵 15:50:11
 */
public interface ApiCustomerUserExerciseBizService {

    /**
     * 保存用户练题记录
     * @param req
     * @return
     */
    boolean save(ApiCustomerUserExerciseSaveReq req);

    /**
     * 获取用户练题记录
     * @param req
     * @return
     */
    List<ApiCustomerUserExerciseListRes> list(ApiCustomerUserCourseBaseReq req);

    /**
     * 返回建培圈练习地址
     * @param req
     * @return
     */
    String doExercise(ApiCustomerUserExerciseTrainReq req);
}
